/**
 * 
 */

package com.wutianyi.nio.interfaces;

import java.nio.ByteBuffer;

/**
 * @author wutianyi
 * 
 */
public interface InputHandler {

	ByteBuffer nextMessage(ChannelFacade channelFacade);

	void handleInput(ByteBuffer message, ChannelFacade channelFacade);

	void starting(ChannelFacade channelFacade);

	void started(ChannelFacade channelFacade);

	void stopping(ChannelFacade channelFacade);

	void stopped(ChannelFacade channelFacade);
}
